import { Component } from '@angular/core';
import { IonicPage, NavController } from 'ionic-angular';

/**
 * Generated class for the TabsPage tabs.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
	selector: 'page-tabs',
	templateUrl: 'tabs.html'
})
export class TabsPage {

	private tabRoots: any;

	constructor(public navCtrl: NavController) {
		this.tabRoots = new Array();
		this.tabRoots = [{
				root: "HomePage",
				tabTitle: '收银台',
				tabIcon: 'home',
				tabUrlPath: 'home'
		},
			{
				root: "CenterPage",
				tabTitle: '我的',
				tabIcon: 'contact',
				tabUrlPath: 'center'
			}
		];
	}
	/*界面加载*/
	ionViewDidLoad() {
		console.log('ionViewDidLoad TabsPage');
	}
}
